home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / wildcat / wcbbs.zip / BBSLIST.DOC next >
Text File  |  1993-02-17  |  7KB  |  198 lines

  1. The following files are enclosed in this archive:
  2.  
  3. BBSLIST.EXE     -       The executable file.
  4.  
  5. BBSLIST.DOC     -       The file you are currently reading.
  6.  
  7. BBSLIST.PAS     -       Turbo Pascal source of the program.
  8.  
  9. BBSLIST.BAT     -       A partial listing of my nightly maintenance file
  10.                         showing how to utilize this program on a multiline
  11.                         system.
  12.  
  13. SYSOP.CFG       -       Master configuration file for program.
  14.  
  15. ques0001.DAT    -       questionaire data.
  16.  
  17.  
  18. This program makes use of the questionaires that are available within
  19. WildCat.  It is very similar to a program written by Brandywine software.
  20. The major advantage of this program is that it is FREEWARE and allows you to
  21. make more use of WildCat's various color combinations.  It will also generate
  22. both a bulletin with WildCat color codes embedded and a straight ASCII file.
  23. The program will accept a single command line parameter which consists of
  24. the name/path of the SYSOP.CFG file or equivalent.  The program will parse
  25. the configuration file changing everything except the BBS name to uppercase
  26. letters.  If you are one of those types who insists on having a multicolored
  27. name for your BBS, all you have to do is assign the color of the first
  28. character in line 6 of the configuration file, then you can embed the other
  29. normal WildCat codes within the actual BBS name.  The program will pass it
  30. along to the bulletin file with one detrimental effect, the text file will
  31. also have these codes embedded within (sorry, but what can you expect of free
  32. software.)
  33.  
  34. The following is the contents of the SYSOP.CFG file:
  35.  
  36. Knight's Bridge BBS
  37. d:\wc30\ques\ques0001.000
  38. d:\wc30\bull\bull7.bbs
  39. g:\generic\text\bbslist.lst
  40. 0C
  41. 0B
  42. 02
  43. 07
  44. 0E
  45. 0F
  46.  
  47.                * Legend for above *
  48. Line  1 = The name of the BBS
  49. Line  2 = Name of questionaire to fill out or master data file
  50. Line  3 = Name of WildCat bulletin file      N = Don't Use
  51. Line  4 = Name of Text file                  N = Don't Use
  52. Line  5 = Color of lines      Format = Background/Foreground
  53. Line  6 = Color of BBS name
  54. Line  7 = Color of Flag line
  55. Line  8 = Color of Title line
  56. Line  9 = Color of first line of BBS listing
  57. Line 10 = Color of Alternate line of BBS listing
  58.  
  59.   *  Background COLOR Chart  *             *  Foreground COLOR Chart  *
  60.  
  61.   0 = Black                                0 = Black
  62.   1 = Blue                                 1 = Blue
  63.   2 = Green                                2 = Green
  64.   3 = Cyan                                 3 = Cyan
  65.   4 = Red                                  4 = Red
  66.   5 = Magenta                              5 = Magenta
  67.   6 = Brown                                6 = Brown
  68.   7 = White                                7 = White
  69.   8 = Black (blinking foreground)          8 = Black (high intensity)
  70.   9 = Blue (blinking foreground)           9 = Blue (high intensity)
  71.   A = Green (blinking foreground)          A = Green (high intensity)
  72.   B = Cyan (blinking foreground)           B = Cyan (high intensity)
  73.   C = Red (blinking foreground)            C = Red (high intensity)
  74.   D = Magenta (blinking foreground)        D = Magenta (high intensity)
  75.   E = Brown (blinking foreground)          E = Brown (high intensity)
  76.   F = White (blinking foreground)          F = White (high intensity)
  77.  
  78.  
  79. *****************************************************************************
  80.  
  81.  
  82. The following is the contents of BBSLIST.BAT which nightly checks for any
  83. additions and is provided as a basis from which you can construct your own.
  84.  
  85.  
  86. @rem   Bulletin #7 - BBS Listing and BBSLIST.ZIP
  87.  
  88. cd\WC30\ques
  89. if not exist ques0001.001 goto ques2
  90. copy ques0001.000+ques0001.001
  91. copy ques0001.001 ques0001.flg
  92. del ques0001.001
  93.  
  94. :ques2
  95. if not exist ques0001.002 goto ques3
  96. copy ques0001.000+ques0001.002
  97. copy ques0001.002 ques0001.flg
  98. del ques0001.002
  99.  
  100. :ques3
  101. if not exist ques0001.003 goto ques4
  102. copy ques0001.000+ques0001.003
  103. copy ques0001.003 ques0001.flg
  104. del ques0001.003
  105.  
  106. :ques4
  107. if not exist ques0001.004 goto ques5
  108. copy ques0001.000+ques0001.004
  109. copy ques0001.004 ques0001.flg
  110. del ques0001.004
  111.  
  112. :ques5
  113. if not exist ques0001.005 goto ques6
  114. copy ques0001.000+ques0001.005
  115. copy ques0001.005 ques0001.flg
  116. del ques0001.005
  117.  
  118. :ques6
  119. if not exist ques0001.006 goto ques7
  120. copy ques0001.000+ques0001.006
  121. copy ques0001.006 ques0001.flg
  122. del ques0001.006
  123.  
  124. :ques7
  125. if not exist ques0001.007 goto ques8
  126. copy ques0001.000+ques0001.007
  127. copy ques0001.007 ques0001.flg
  128. del ques0001.007
  129.  
  130. :ques8
  131. if not exist ques0001.008 goto ques9
  132. copy ques0001.000+ques0001.008
  133. copy ques0001.008 ques0001.flg
  134. del ques0001.008
  135.  
  136. :ques9
  137. if not exist ques0001.009 goto ques10
  138. copy ques0001.000+ques0001.009
  139. copy ques0001.009 ques0001.flg
  140. del ques0001.009
  141.  
  142. :ques10
  143. if not exist ques0001.010 goto NEWSTART
  144. copy ques0001.000+ques0001.010
  145. copy ques0001.010 ques0001.flg
  146. del ques0001.010
  147.  
  148. :NEWSTART
  149. if not exist ques0001.flg goto END
  150. bbslist
  151. del ques0001.flg
  152. g:
  153. cd\generic\text
  154. Pkzip -f bbslist
  155. :END
  156.  
  157.  
  158. A brief explanation of the major section is:
  159.  
  160. :HEADER1                                  (Label - HEADER1)
  161. if not exist ques0001.0xx goto HEADER2    (If the questionaire for a indivdual
  162.                                            node was not answered, bypass the
  163.                                            rest of the instructions until the
  164.                                            label HEADER2 is found)
  165. copy ques0001.000+ques0001.0xx            (Append the contents of ques0001.0xx
  166.                                            to the permanent ques0001.000 data
  167.                                            file)
  168. copy ques0001.0xx ques0001.flg            (Copy data file to temporary flag
  169.                                            file, contents does not matter)
  170. del ques0001.0xx                          (Clear data for that node)
  171. :HEADER2                                  (Label - HEADER2)
  172.  
  173. *
  174. *
  175. *
  176. *
  177.  
  178. :NEWSTART                                 (Label - NEWSTART)
  179. if not exist ques0001.flg go END          (If the flag file does not exist
  180.                                            then terminate batch program)
  181. bbslist                                   (Execute program BBSLIST.EXE)
  182. del ques0001.flg                          (Clear flag file)
  183.  
  184. *
  185. *
  186. :END
  187.  
  188.  
  189. Hopefully I have documented everything sufficiently so that anyone can use
  190. the program.  Those of you who are professional programmers may scoff at
  191. my coding all you want; but, what do you expect from a hardware designer who
  192. had 30 minutes to kill.  For those who wish to ridicule I can be reached at
  193.  
  194. Knight's Bridge BBS - (512)837-3617, (512)837-9781, (512)837-9816
  195.  
  196. For those who feel guilty and have this un-natural urge to send me money,
  197. give the BBS a call and join up for a year ($5).
  198.